package com.ropeok.entity;

/**
 * @BelongsProject: task2
 * @BelongsPackage: com.ropeok.entity
 * @Author: zhofeifan
 * @CreateTime: 2022-08-23  14:22
 * @Description: 角色信息实体
 * @Version: 1.0
 */
public class UserRole  {
    private  long id;//id
    private long userID;//用户ID
    private long roleID;//角色ID

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserID() {
        return userID;
    }

    public void setUserID(long userID) {
        this.userID = userID;
    }

    public long getRoleID() {
        return roleID;
    }

    public void setRoleID(long roleID) {
        this.roleID = roleID;
    }

    public UserRole() {
    }

    public UserRole(long id, long userID, long roleID) {
        this.id = id;
        this.userID = userID;
        this.roleID = roleID;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "id=" + id +
                ", userID=" + userID +
                ", roleID=" + roleID +
                '}';
    }
}

